import request from '@/utils/request'

// 查询负责人关系表列表
export function listLandR(query) {
  return request({
    url: '/manage/LandR/list',
    method: 'get',
    params: query
  })
}

// 查询负责人关系表详细
export function getLandR(useridSubordinate) {
  return request({
    url: '/manage/LandR/' + useridSubordinate,
    method: 'get'
  })
}

// 新增负责人关系表
export function addLandR(data) {
  return request({
    url: '/manage/LandR',
    method: 'post',
    data: data
  })
}

// 修改负责人关系表
export function updateLandR(data) {
  return request({
    url: '/manage/LandR',
    method: 'put',
    data: data
  })
}

// 删除负责人关系表
export function delLandR(useridSubordinate) {
  return request({
    url: '/manage/LandR/' + useridSubordinate,
    method: 'delete'
  })
}

export function show(show) {
  return request({
    url: '/manage/LandR//show/' + show,
    method: 'get'
  })
}
